package com.dmx.cep.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.dmx.cep.entity.ConfBlock;
import com.dmx.fw.service.interfaces.Service;

public interface ConfBlockService extends Service{
	
    
    public void batchDeleteConfBlockByIds(Integer[] ids);

    public void deleteConfBlockById(Integer id);

    public void saveOrUpdateConfBlock(ConfBlock ConfBlock);

    public ConfBlock findConfBlockById(Integer id);
    
    
    void saveBlackWhiteList(List<String[]> result) throws DataAccessException;
    
    List<Object[]> queryBlackWhiteList(String keyOrDomain,String blackOrWhite,String isValid,String value,String orderByScript) throws Exception;
}
